﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NursingHome.Model;

namespace NursingHome.Factories
{
    public static class PatientFactory
    {
        private static int i = 0;

        public static Patient Create()
        {
            Patient patient = new Patient();

            patient.Name = String.Format("Patient_{0}", i);
            patient.DOB = "2001-01-01";
            patient.EmailAddress = String.Format("email_{0}@email.com", i);
            patient.Gender = GenderType.Male;
            patient.HomePhone = "111-11-1111";
            patient.WorkPhone = "222-22-2222";

            i += 1;
            return patient;
        }
    }
}
